[INFO] fetching crate openssh-sftp-client-lowlevel 0.5.1...
[INFO] checking openssh-sftp-client-lowlevel-0.5.1 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate openssh-sftp-client-lowlevel 0.5.1 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate openssh-sftp-client-lowlevel 0.5.1 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate openssh-sftp-client-lowlevel 0.5.1
[INFO] finished tweaking crates.io crate openssh-sftp-client-lowlevel 0.5.1
[INFO] tweaked toml for crates.io crate openssh-sftp-client-lowlevel 0.5.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ba7e7a53836233d549094c003a8128cd6014b195292e75dedf74a441cc98a908
[INFO] running `Command { std: "docker" "start" "-a" "ba7e7a53836233d549094c003a8128cd6014b195292e75dedf74a441cc98a908", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba7e7a53836233d549094c003a8128cd6014b195292e75dedf74a441cc98a908", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba7e7a53836233d549094c003a8128cd6014b195292e75dedf74a441cc98a908", kill_on_drop: false }`
[INFO] [stdout] ba7e7a53836233d549094c003a8128cd6014b195292e75dedf74a441cc98a908
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67576790feb1298c1b40dd2078093b25e43c13a34201ad3f3172a7558ada3292
[INFO] running `Command { std: "docker" "start" "-a" "67576790feb1298c1b40dd2078093b25e43c13a34201ad3f3172a7558ada3292", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking thin-vec v0.2.12
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking arc-swap v1.6.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking awaitable-error v0.1.0
[INFO] [stderr]    Compiling rustix v0.37.20
[INFO] [stderr]    Compiling tempfile v3.6.0
[INFO] [stderr]     Checking bitflags v2.3.2
[INFO] [stderr]     Checking awaitable v0.4.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling derive_destructure2 v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.0
[INFO] [stderr]     Checking thiserror v1.0.40
[INFO] [stderr]     Checking pin-project v1.1.0
[INFO] [stderr]     Checking tokio-io-utility v0.7.6
[INFO] [stderr]     Checking vec-strings v0.4.8
[INFO] [stderr]     Checking ssh_format_error v0.1.0
[INFO] [stderr]     Checking triomphe v0.1.8
[INFO] [stderr]     Checking ssh_format v0.14.1
[INFO] [stderr]     Checking openssh-sftp-protocol-error v0.1.0
[INFO] [stderr]     Checking concurrent_arena v0.1.8
[INFO] [stderr]     Checking openssh-sftp-error v0.3.1
[INFO] [stderr]     Checking openssh-sftp-protocol v0.24.0
[INFO] [stderr]     Checking openssh-sftp-client-lowlevel v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `sftp_test_common`
[INFO] [stdout]  --> tests/lowlevel.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sftp_test_common::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `sftp_test_common`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PipeWrite` in this scope
[INFO] [stdout]   --> tests/lowlevel.rs:19:62
[INFO] [stdout]    |
[INFO] [stdout] 19 | type WriteEnd = lowlevel::WriteEnd<Vec<u8>, MpscQueue, Mutex<PipeWrite>>;
[INFO] [stdout]    |                                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 19 | type WriteEnd<PipeWrite> = lowlevel::WriteEnd<Vec<u8>, MpscQueue, Mutex<PipeWrite>>;
[INFO] [stdout]    |              +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PipeRead` in this scope
[INFO] [stdout]   --> tests/lowlevel.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 | type ReadEnd = lowlevel::ReadEnd<PipeRead, Vec<u8>, MpscQueue, Mutex<PipeWrite>>;
[INFO] [stdout]    |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | type ReadEnd<PipeRead> = lowlevel::ReadEnd<PipeRead, Vec<u8>, MpscQueue, Mutex<PipeWrite>>;
[INFO] [stdout]    |             ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PipeWrite` in this scope
[INFO] [stdout]   --> tests/lowlevel.rs:20:70
[INFO] [stdout]    |
[INFO] [stdout] 20 | type ReadEnd = lowlevel::ReadEnd<PipeRead, Vec<u8>, MpscQueue, Mutex<PipeWrite>>;
[INFO] [stdout]    |                                                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | type ReadEnd<PipeWrite> = lowlevel::ReadEnd<PipeRead, Vec<u8>, MpscQueue, Mutex<PipeWrite>>;
[INFO] [stdout]    |             +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `launch_sftp` in this scope
[INFO] [stdout]   --> tests/lowlevel.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let (child, stdin, stdout) = launch_sftp().await;
[INFO] [stdout]    |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0618]: expected function, found `impl FnOnce(&mut WriteEnd, Id, Cow<'_, Handle>, &[u8]) -> AwaitableStatus<Vec<u8>>`
[INFO] [stdout]    --> tests/lowlevel.rs:200:21
[INFO] [stdout]     |
[INFO] [stdout] 166 |     write: impl FnOnce(&mut WriteEnd, Id, Cow<'_, Handle>, &[u8]) -> AwaitableStatus<Vec<u8>>,
[INFO] [stdout]     |     ----- `write` has type `impl FnOnce(&mut WriteEnd, Id, Cow<'_, Handle>, &[u8]) -> AwaitableStatus<Vec<u8>>`
[INFO] [stdout] ...
[INFO] [stdout] 200 |     let awaitable = write(&mut write_end, id, Cow::Borrowed(&handle), msg);
[INFO] [stdout]     |                     ^^^^^-------------------------------------------------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     call expression requires function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_path_for_tmp_files` in this scope
[INFO] [stdout]   --> tests/lowlevel.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let path = get_path_for_tmp_files();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/lowlevel.rs:229:22
[INFO] [stdout]     |
[INFO] [stdout] 229 |     test_write_impl(|write_end, id, handle, msg| {
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 230 |         write_end
[INFO] [stdout]     |         --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 229 |     test_write_impl(|write_end: /* Type */, id, handle, msg| {
[INFO] [stdout]     |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/lowlevel.rs:239:22
[INFO] [stdout]     |
[INFO] [stdout] 239 |     test_write_impl(|write_end, id, handle, msg| {
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 240 |         write_end
[INFO] [stdout]     |         --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 239 |     test_write_impl(|write_end: /* Type */, id, handle, msg| {
[INFO] [stdout]     |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/lowlevel.rs:254:22
[INFO] [stdout]     |
[INFO] [stdout] 254 |     test_write_impl(|write_end, id, handle, msg| {
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 255 |         write_end
[INFO] [stdout]     |         --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 254 |     test_write_impl(|write_end: /* Type */, id, handle, msg| {
[INFO] [stdout]     |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/lowlevel.rs:272:22
[INFO] [stdout]     |
[INFO] [stdout] 272 |     test_write_impl(|write_end, id, handle, msg| {
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 273 |         write_end
[INFO] [stdout]     |         --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 272 |     test_write_impl(|write_end: /* Type */, id, handle, msg| {
[INFO] [stdout]     |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> tests/lowlevel.rs:290:22
[INFO] [stdout]     |
[INFO] [stdout] 290 |     test_write_impl(|write_end, id, handle, msg| {
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 291 |         write_end
[INFO] [stdout]     |         --------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 290 |     test_write_impl(|write_end: /* Type */, id, handle, msg| {
[INFO] [stdout]     |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::AsyncWriteExt`
[INFO] [stdout]   --> tests/lowlevel.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::{io::AsyncWriteExt, sync::Mutex};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `process`
[INFO] [stdout]   --> tests/lowlevel.rs:38:59
[INFO] [stdout]    |
[INFO] [stdout] 38 | async fn connect_with_extensions() -> (WriteEnd, ReadEnd, process::Child, Extensions) {
[INFO] [stdout]    |                                                           ^^^^^^^ use of undeclared crate or module `process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `process`
[INFO] [stdout]   --> tests/lowlevel.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 | async fn connect() -> (WriteEnd, ReadEnd, process::Child) {
[INFO] [stdout]    |                                           ^^^^^^^ use of undeclared crate or module `process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433, E0618.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `openssh-sftp-client-lowlevel` (test "lowlevel") due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "67576790feb1298c1b40dd2078093b25e43c13a34201ad3f3172a7558ada3292", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67576790feb1298c1b40dd2078093b25e43c13a34201ad3f3172a7558ada3292", kill_on_drop: false }`
[INFO] [stdout] 67576790feb1298c1b40dd2078093b25e43c13a34201ad3f3172a7558ada3292
